﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <link href="../../js/jquery-easyui-1.4/themes/default/easyui.css" rel="stylesheet"
        type="text/css" />
    <link href="../../js/jquery-easyui-1.4/themes/icon.css" rel="stylesheet" type="text/css" />
    <script src="../../js/jquery-easyui-1.4/jquery-1.8.0.min.js" type="text/javascript"></script>
    <script src="../../js/jquery-easyui-1.4/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../../js/jquery-easyui-1.4/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script src="../../js/jquery-easyui-1.4/datagrid-detailview.js" type="text/javascript"></script>
    <script src="OrderManager.js" type="text/javascript"></script>
</head>
<body class="easyui-layout">
    <div data-options="region:'center',noheader:true,">
        <table id="dg">
        </table>
        <div id="d_tb" style="padding-top: 8px;padding-left:15px;display:none">
            <form id="searchForm" action="/order/controller.do" onsubmit="$('#btn_query').focus().click();return false;">
                <input type="hidden" name="action" value="queryByPage" />
                <input type="submit" style="display:none" />
                
                <div style="padding-bottom:5px">
                    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="ShowAdd()">添加</a>
                    <a href="#" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="ShowModify()">修改</a>
                    <a href="#" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="Del()">删除</a>
                    <a href="#" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="ChangeOver()">完结</a>
                </div>
                <div>
                    开始时间:
                    <input name="startTime" class="easyui-datetimebox" style="width:130px" data-options="showSeconds:false" />
                    截止时间:
                    <input name="endTime" class="easyui-datetimebox" style="width:130px" data-options="showSeconds:false" />
                    名称:<input name="Rname" class="easyui-textbox" style="width:110px" />
                    状态:
                    <select name="Status" class="easyui-combobox" style="width:75px" data-options="editable:false,panelMaxHeight:60">
                        <option value="0">全部</option>
                        <option value="1">处理中</option>
                        <option value="2">已完结</option>
                     </select>
                    <a href="javascript:void(0);" id="btn_query" class="easyui-linkbutton" iconcls="icon-search" plain="true" onclick="Query()">查询</a>
                    <a href="?" class="easyui-linkbutton" iconcls="icon-reload" plain="true">重载</a>
                </div>
            </form>
        </div>
    </div>
    <div style="display:none">
        <div id="dlg" buttons="#dlg_buttons" style="width:400px;padding:20px;"
        >
         <form action="/order/controller.do" class="mainForm" onsubmit="$('#dlg_buttons .submit').focus().click();return false;">
            <input style="display:none" name="action" value="" />
            <input style="display:none" name="id" value="" />
            <input type="submit" style="display:none" />
             <table>
                 <tr>
                     <td>
                         姓名:
                     </td>
                     <td>
                         <input name="rname" class="easyui-textbox easyui-validatebox" data-options="required:true,missingMessage:'不能为空'" style="width:180px" />
                     </td>
                 </tr>
                 <tr>
                     <td>
                         IP:
                     </td>
                     <td>
                         <input name="ip" class="easyui-textbox easyui-validatebox" data-options="required:true,missingMessage:'不能为空'" style="width:180px" />
                     </td>
                 </tr>
                 <tr>
                     <td>
                         邮箱:
                     </td>
                     <td>
                         <input name="email" class="easyui-textbox easyui-validatebox" data-options="required:true,missingMessage:'不能为空'" style="width:180px" />
                     </td>
                 </tr>
                 <tr>
                     <td>
                         食品编号:
                     </td>
                     <td>
                         <input name="food" class="easyui-textbox easyui-validatebox" data-options="required:true,missingMessage:'不能为空'" style="width:180px" />
                     </td>
                 </tr>
                 <tr>
                     <td>
                         状态:
                     </td>
                     <td>
                         <input name="status" value="1" class="easyui-textbox easyui-validatebox" data-options="required:true,missingMessage:'不能为空'" style="width:180px" />
                     </td>
                 </tr>


             </table>



          </form>
        </div>
  
        <div id="dlg_buttons">
            <a href="#" class="easyui-linkbutton submit" iconCls="icon-save" onclick="Dlg_submit()">提交</a>
            <a href="#" class="easyui-linkbutton" iconCls="icon-cancel" onclick="$('#dlg').dialog('close');">关闭</a>
        </div>
    
    </div>

</body>
</html>
